﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    internal class ProgrammerWriter : Programmer, Iwriter
    {

        public ProgrammerWriter(string name) : base(name)
        {
            this.Name = name;
        }
        public void output2()
        {
            Console.WriteLine("我的名字是{0}，我是一名程序员，也是一名员工！",base.Name);
        }

        public void output3()
        {
            Console.WriteLine("我还是一名作家！");
        }

    }
}
